<!-- 用户 》 工作 -->

<template>
  <div>
    <MajorTitle title="工作信息" />

    <EasyRow>
      <!-- 先以 row.organId 进行字典转换，为空再取 role.organName 值，防止删除该部门后无法显示历史的名称 -->
      <ShowTree label="所属部门" bind="organId, organName" :dict="organ_treeDict" third />
      <ShowTreeMulti label="多部门" bind="organsIdList, organsNameList" :dict="organ_treeDict" third2 />
    </EasyRow>

    <EasyRow>
      <ShowDateRange label="合同期限" bind="beginDate, endDate" third />
      <ShowDate label="起始日期" bind="beginDate" quar />
      <ShowDate label="截止日期" bind="endDate" quar />
      <ShowText label="车牌" bind="vehicle" word2 sixth />
    </EasyRow>

    <EasyRow>
      <ShowNum label="年薪" bind="salary" quar />
      <ShowNum bind="salary" noLabel CN quar />
      <ShowMoney bind="salary" noLabel half />
    </EasyRow>

    <EasyRow>
      <ShowLink label="个人主页" bind="link" eighth3 />
      <ShowText label="联系邮箱" bind="email" eighth3 />
    </EasyRow>

    <ShowRichText label="个性签名" bind="selfSign" />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'UserWork',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb(), CORE.mixTree('organ', 'organ_')],
}
</script>
